var jsonData= 
{
  "success": true,
  "data": {
    "width": 1220,
    "height": 605,
    "elements": [
      {
        "type": "startEvent",
        "id": "startevent1",
        "name": "Start",
        "elementCoordinate": {
          "x": 5,
          "y": 342,
          "width": 35,
          "height": 35
        }
      },
      {
        "type": "flow",
        "id": "flow70",
        "name": "",
        "elementCoordinate": [
          {
            "x": 40,
            "y": 359
          },
          {
            "x": 85,
            "y": 359
          }
        ]
      },
      {
        "type": "serviceTask",
        "id": "occupyPosition",
        "name": "占位",
        "elementCoordinate": {
          "x": 465,
          "y": 43,
          "width": 105,
          "height": 55
        }
      },
      {
        "type": "flow",
        "id": "flow3",
        "name": "",
        "elementCoordinate": [
          {
            "x": 570,
            "y": 70
          },
          {
            "x": 595,
            "y": 70
          }
        ]
      },
      {
        "type": "boundaryError",
        "id": "boundaryerror1",
        "name": null,
        "elementCoordinate": {
          "x": 535,
          "y": 83,
          "width": 30,
          "height": 30
        }
      },
      {
        "type": "flow",
        "id": "flow44",
        "name": "",
        "elementCoordinate": [
          {
            "x": 550,
            "y": 113
          },
          {
            "x": 549,
            "y": 163
          },
          {
            "x": 819,
            "y": 163
          },
          {
            "x": 855,
            "y": 182
          }
        ]
      },
      {
        "type": "receiveTask",
        "id": "positionResult",
        "name": "等待占位结果",
        "elementCoordinate": {
          "x": 595,
          "y": 43,
          "width": 105,
          "height": 55
        }
      },
      {
        "type": "flow",
        "id": "flow46",
        "name": "",
        "elementCoordinate": [
          {
            "x": 700,
            "y": 70
          },
          {
            "x": 724,
            "y": 70
          }
        ]
      },
      {
        "type": "boundaryTimer",
        "id": "boundarytimer6",
        "name": null,
        "elementCoordinate": {
          "x": 633,
          "y": 83,
          "width": 30,
          "height": 30
        }
      },
      {
        "type": "flow",
        "id": "flow55",
        "name": "",
        "elementCoordinate": [
          {
            "x": 648,
            "y": 113
          },
          {
            "x": 647,
            "y": 146
          },
          {
            "x": 822,
            "y": 146
          },
          {
            "x": 875,
            "y": 162
          }
        ]
      },
      {
        "type": "exclusiveGateway",
        "id": "exclusivegateway1",
        "name": "Exclusive Gateway",
        "elementCoordinate": {
          "x": 855,
          "y": 50,
          "width": 40,
          "height": 40
        }
      },
      {
        "type": "flow",
        "id": "flow6",
        "name": "占位成功",
        "elementCoordinate": [
          {
            "x": 875,
            "y": 50
          },
          {
            "x": 875,
            "y": 5
          },
          {
            "x": 1174,
            "y": 5
          },
          {
            "x": 1173,
            "y": 43
          }
        ]
      },
      {
        "type": "flow",
        "id": "flow12",
        "name": "占位失败",
        "elementCoordinate": [
          {
            "x": 875,
            "y": 90
          },
          {
            "x": 875,
            "y": 162
          }
        ]
      },
      {
        "type": "serviceTask",
        "id": "notifyOccupySuccessOrFail",
        "name": "占位结果(打开/关闭在线支付)",
        "elementCoordinate": {
          "x": 724,
          "y": 43,
          "width": 105,
          "height": 55
        }
      },
      {
        "type": "flow",
        "id": "flow4",
        "name": "",
        "elementCoordinate": [
          {
            "x": 829,
            "y": 70
          },
          {
            "x": 855,
            "y": 70
          }
        ]
      },
      {
        "type": "exclusiveGateway",
        "id": "exclusivegateway2",
        "name": "Exclusive Gateway",
        "elementCoordinate": {
          "x": 855,
          "y": 162,
          "width": 40,
          "height": 40
        }
      },
      {
        "type": "flow",
        "id": "flow33",
        "name": "",
        "elementCoordinate": [
          {
            "x": 875,
            "y": 202
          },
          {
            "x": 874,
            "y": 253
          },
          {
            "x": 797,
            "y": 253
          }
        ]
      },
      {
        "type": "callActivity",
        "id": "resourceconfirm",
        "name": "出游",
        "elementCoordinate": {
          "x": 711,
          "y": 443,
          "width": 105,
          "height": 55
        }
      },
      {
        "type": "flow",
        "id": "flow29",
        "name": "",
        "elementCoordinate": [
          {
            "x": 711,
            "y": 470
          },
          {
            "x": 682,
            "y": 470
          }
        ]
      },
      {
        "type": "callActivity",
        "id": "toTourBooking",
        "name": "转网络订单",
        "elementCoordinate": {
          "x": 692,
          "y": 226,
          "width": 105,
          "height": 55
        }
      },
      {
        "type": "flow",
        "id": "flow34",
        "name": "",
        "elementCoordinate": [
          {
            "x": 692,
            "y": 253
          },
          {
            "x": 640,
            "y": 253
          }
        ]
      },
      {
        "type": "serviceTask",
        "id": "clearPosition",
        "name": "清位",
        "elementCoordinate": {
          "x": 915,
          "y": 322,
          "width": 105,
          "height": 55
        }
      },
      {
        "type": "flow",
        "id": "flow36",
        "name": "",
        "elementCoordinate": [
          {
            "x": 915,
            "y": 349
          },
          {
            "x": 874,
            "y": 345
          },
          {
            "x": 875,
            "y": 320
          }
        ]
      },
      {
        "type": "serviceTask",
        "id": "generateContract",
        "name": "生成委托协议",
        "elementCoordinate": {
          "x": 1009,
          "y": 443,
          "width": 105,
          "height": 55
        }
      },
      {
        "type": "flow",
        "id": "flow62",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1009,
            "y": 470
          },
          {
            "x": 968,
            "y": 470
          }
        ]
      },
      {
        "type": "subProcess",
        "id": "paidSubProcess",
        "name": "付款",
        "elementCoordinate": {
          "x": 1071,
          "y": 43,
          "width": 205,
          "height": 345
        }
      },
      {
        "type": "flow",
        "id": "flow20",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1173,
            "y": 388
          },
          {
            "x": 1178,
            "y": 450
          }
        ]
      },
      {
        "type": "startEvent",
        "id": "startevent2",
        "name": "Start",
        "elementCoordinate": {
          "x": 1082,
          "y": 63,
          "width": 35,
          "height": 35
        }
      },
      {
        "type": "flow",
        "id": "flow38",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1117,
            "y": 80
          },
          {
            "x": 1148,
            "y": 80
          }
        ]
      },
      {
        "type": "receiveTask",
        "id": "receivepaidstatus",
        "name": "等待支付",
        "elementCoordinate": {
          "x": 1116,
          "y": 191,
          "width": 105,
          "height": 55
        }
      },
      {
        "type": "flow",
        "id": "flow42",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1168,
            "y": 246
          },
          {
            "x": 1168,
            "y": 273
          }
        ]
      },
      {
        "type": "exclusiveGateway",
        "id": "exclusivegateway3",
        "name": "Exclusive Gateway",
        "elementCoordinate": {
          "x": 1148,
          "y": 133,
          "width": 40,
          "height": 40
        }
      },
      {
        "type": "flow",
        "id": "flow41",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1168,
            "y": 173
          },
          {
            "x": 1168,
            "y": 191
          }
        ]
      },
      {
        "type": "exclusiveGateway",
        "id": "exclusivegateway5",
        "name": "Exclusive Gateway",
        "elementCoordinate": {
          "x": 1148,
          "y": 273,
          "width": 40,
          "height": 40
        }
      },
      {
        "type": "flow",
        "id": "flow43",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1148,
            "y": 293
          },
          {
            "x": 1097,
            "y": 293
          },
          {
            "x": 1097,
            "y": 153
          },
          {
            "x": 1148,
            "y": 153
          }
        ]
      },
      {
        "type": "flow",
        "id": "flow60",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1168,
            "y": 313
          },
          {
            "x": 1168,
            "y": 333
          }
        ]
      },
      {
        "type": "exclusiveGateway",
        "id": "exclusivegateway9",
        "name": "Exclusive Gateway",
        "elementCoordinate": {
          "x": 1148,
          "y": 60,
          "width": 40,
          "height": 40
        }
      },
      {
        "type": "flow",
        "id": "flow59",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1168,
            "y": 100
          },
          {
            "x": 1168,
            "y": 133
          }
        ]
      },
      {
        "type": "flow",
        "id": "flow61",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1188,
            "y": 80
          },
          {
            "x": 1235,
            "y": 80
          },
          {
            "x": 1235,
            "y": 353
          },
          {
            "x": 1188,
            "y": 353
          }
        ]
      },
      {
        "type": "exclusiveGateway",
        "id": "exclusivegateway10",
        "name": "Exclusive Gateway",
        "elementCoordinate": {
          "x": 1148,
          "y": 333,
          "width": 40,
          "height": 40
        }
      },
      {
        "type": "flow",
        "id": "flow40",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1148,
            "y": 353
          },
          {
            "x": 1130,
            "y": 353
          }
        ]
      },
      {
        "type": "endEvent",
        "id": "endevent4",
        "name": "End",
        "elementCoordinate": {
          "x": 1095,
          "y": 336,
          "width": 35,
          "height": 35
        }
      },
      {
        "type": "boundaryTimer",
        "id": "boundarytimer3",
        "name": null,
        "elementCoordinate": {
          "x": 1261,
          "y": 253,
          "width": 30,
          "height": 30
        }
      },
      {
        "type": "flow",
        "id": "flow37",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1276,
            "y": 283
          },
          {
            "x": 1349,
            "y": 267
          }
        ]
      },
      {
        "type": "boundaryTimer",
        "id": "boundarytimer4",
        "name": null,
        "elementCoordinate": {
          "x": 1061,
          "y": 335,
          "width": 30,
          "height": 30
        }
      },
      {
        "type": "flow",
        "id": "flow35",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1076,
            "y": 365
          },
          {
            "x": 1020,
            "y": 349
          }
        ]
      },
      {
        "type": "boundarySignal",
        "id": "boundarysignal2",
        "name": null,
        "elementCoordinate": {
          "x": 1056,
          "y": 239,
          "width": 30,
          "height": 30
        }
      },
      {
        "type": "flow",
        "id": "flow24",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1071,
            "y": 269
          },
          {
            "x": 875,
            "y": 253
          },
          {
            "x": 875,
            "y": 280
          }
        ]
      },
      {
        "type": "boundaryTimer",
        "id": "boundarytimer7",
        "name": null,
        "elementCoordinate": {
          "x": 1261,
          "y": 168,
          "width": 30,
          "height": 30
        }
      },
      {
        "type": "flow",
        "id": "flow56",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1276,
            "y": 198
          },
          {
            "x": 1340,
            "y": 182
          }
        ]
      },
      {
        "type": "subProcess",
        "id": "tourinfocompleteSubProcess",
        "name": "等待客人完善出游信息",
        "elementCoordinate": {
          "x": 175,
          "y": 265,
          "width": 355,
          "height": 189
        }
      },
      {
        "type": "flow",
        "id": "flow52",
        "name": "",
        "elementCoordinate": [
          {
            "x": 352,
            "y": 265
          },
          {
            "x": 352,
            "y": 202
          }
        ]
      },
      {
        "type": "startEvent",
        "id": "startevent3",
        "name": "Start",
        "elementCoordinate": {
          "x": 185,
          "y": 352,
          "width": 35,
          "height": 35
        }
      },
      {
        "type": "flow",
        "id": "flow47",
        "name": "",
        "elementCoordinate": [
          {
            "x": 220,
            "y": 369
          },
          {
            "x": 235,
            "y": 369
          }
        ]
      },
      {
        "type": "receiveTask",
        "id": "completetourinfo",
        "name": "完善订单信息",
        "elementCoordinate": {
          "x": 295,
          "y": 342,
          "width": 105,
          "height": 55
        }
      },
      {
        "type": "flow",
        "id": "flow49",
        "name": "",
        "elementCoordinate": [
          {
            "x": 400,
            "y": 369
          },
          {
            "x": 415,
            "y": 369
          }
        ]
      },
      {
        "type": "inclusiveGateway",
        "id": "inclusivegateway1",
        "name": "Exclusive Gateway",
        "elementCoordinate": {
          "x": 235,
          "y": 349,
          "width": 40,
          "height": 40
        }
      },
      {
        "type": "flow",
        "id": "flow48",
        "name": "",
        "elementCoordinate": [
          {
            "x": 275,
            "y": 369
          },
          {
            "x": 295,
            "y": 369
          }
        ]
      },
      {
        "type": "flow",
        "id": "flow51",
        "name": "已完善出游人信息",
        "elementCoordinate": [
          {
            "x": 255,
            "y": 349
          },
          {
            "x": 255,
            "y": 292
          },
          {
            "x": 340,
            "y": 292
          },
          {
            "x": 435,
            "y": 292
          },
          {
            "x": 435,
            "y": 349
          }
        ]
      },
      {
        "type": "inclusiveGateway",
        "id": "inclusivegateway2",
        "name": "Exclusive Gateway",
        "elementCoordinate": {
          "x": 415,
          "y": 349,
          "width": 40,
          "height": 40
        }
      },
      {
        "type": "flow",
        "id": "flow50",
        "name": "",
        "elementCoordinate": [
          {
            "x": 455,
            "y": 369
          },
          {
            "x": 475,
            "y": 369
          }
        ]
      },
      {
        "type": "endEvent",
        "id": "endevent5",
        "name": "End",
        "elementCoordinate": {
          "x": 475,
          "y": 352,
          "width": 35,
          "height": 35
        }
      },
      {
        "type": "boundaryTimer",
        "id": "boundarytimer5",
        "name": "",
        "elementCoordinate": {
          "x": 421,
          "y": 253,
          "width": 30,
          "height": 30
        }
      },
      {
        "type": "flow",
        "id": "flow54",
        "name": "超时转网络单",
        "elementCoordinate": [
          {
            "x": 436,
            "y": 283
          },
          {
            "x": 435,
            "y": 202
          },
          {
            "x": 814,
            "y": 202
          },
          {
            "x": 855,
            "y": 182
          }
        ]
      },
      {
        "type": "exclusiveGateway",
        "id": "exclusivegateway8",
        "name": "Exclusive Gateway",
        "elementCoordinate": {
          "x": 332,
          "y": 162,
          "width": 40,
          "height": 40
        }
      },
      {
        "type": "flow",
        "id": "flow45",
        "name": "无特殊需求",
        "elementCoordinate": [
          {
            "x": 352,
            "y": 162
          },
          {
            "x": 352,
            "y": 70
          },
          {
            "x": 465,
            "y": 70
          }
        ]
      },
      {
        "type": "flow",
        "id": "flow53",
        "name": "有特殊需求",
        "elementCoordinate": [
          {
            "x": 372,
            "y": 182
          },
          {
            "x": 628,
            "y": 181
          },
          {
            "x": 855,
            "y": 182
          }
        ]
      },
      {
        "type": "userTask",
        "id": "clearPositionRemind",
        "name": "清位提醒",
        "elementCoordinate": {
          "x": 1340,
          "y": 70,
          "width": 105,
          "height": 55
        }
      },
      {
        "type": "flow",
        "id": "flow58",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1392,
            "y": 70
          },
          {
            "x": 1392,
            "y": 44
          }
        ]
      },
      {
        "type": "serviceTask",
        "id": "positionTimeout",
        "name": "清位提醒",
        "elementCoordinate": {
          "x": 1340,
          "y": 155,
          "width": 105,
          "height": 55
        }
      },
      {
        "type": "flow",
        "id": "flow57",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1392,
            "y": 155
          },
          {
            "x": 1392,
            "y": 125
          }
        ]
      },
      {
        "type": "serviceTask",
        "id": "feedBackContract",
        "name": "回传委托协议",
        "elementCoordinate": {
          "x": 863,
          "y": 443,
          "width": 105,
          "height": 55
        }
      },
      {
        "type": "flow",
        "id": "flow31",
        "name": "",
        "elementCoordinate": [
          {
            "x": 863,
            "y": 470
          },
          {
            "x": 816,
            "y": 470
          }
        ]
      },
      {
        "type": "exclusiveGateway",
        "id": "exclusivegateway11",
        "name": "Exclusive Gateway",
        "elementCoordinate": {
          "x": 855,
          "y": 280,
          "width": 40,
          "height": 40
        }
      },
      {
        "type": "flow",
        "id": "flow63",
        "name": "",
        "elementCoordinate": [
          {
            "x": 855,
            "y": 300
          },
          {
            "x": 744,
            "y": 300
          },
          {
            "x": 744,
            "y": 281
          }
        ]
      },
      {
        "type": "inclusiveGateway",
        "id": "inclusivegateway3",
        "name": "Inclusive Gateway",
        "elementCoordinate": {
          "x": 1158,
          "y": 450,
          "width": 40,
          "height": 40
        }
      },
      {
        "type": "flow",
        "id": "flow66",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1158,
            "y": 470
          },
          {
            "x": 1114,
            "y": 470
          }
        ]
      },
      {
        "type": "flow",
        "id": "flow67",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1198,
            "y": 470
          },
          {
            "x": 1245,
            "y": 470
          }
        ]
      },
      {
        "type": "callActivity",
        "id": "visaCallActivity",
        "name": "签证",
        "elementCoordinate": {
          "x": 1245,
          "y": 443,
          "width": 105,
          "height": 55
        }
      },
      {
        "type": "flow",
        "id": "flow68",
        "name": "",
        "elementCoordinate": [
          {
            "x": 1350,
            "y": 470
          },
          {
            "x": 1405,
            "y": 470
          }
        ]
      },
      {
        "type": "parallelGateway",
        "id": "parallelgateway1",
        "name": "Exclusive Gateway",
        "elementCoordinate": {
          "x": 85,
          "y": 339,
          "width": 40,
          "height": 40
        }
      },
      {
        "type": "flow",
        "id": "flow2",
        "name": "",
        "elementCoordinate": [
          {
            "x": 125,
            "y": 359
          },
          {
            "x": 175,
            "y": 359
          }
        ]
      },
      {
        "type": "flow",
        "id": "flow71",
        "name": "",
        "elementCoordinate": [
          {
            "x": 105,
            "y": 379
          },
          {
            "x": 105,
            "y": 443
          }
        ]
      },
      {
        "type": "callActivity",
        "id": "aftercreate",
        "name": "订单创建后事件",
        "elementCoordinate": {
          "x": 53,
          "y": 443,
          "width": 105,
          "height": 55
        }
      },
      {
        "type": "flow",
        "id": "flow72",
        "name": "",
        "elementCoordinate": [
          {
            "x": 105,
            "y": 498
          },
          {
            "x": 105,
            "y": 523
          }
        ]
      },
      {
        "type": "intermediateTimer",
        "id": "tourBackDate",
        "name": "归来日期",
        "elementCoordinate": {
          "x": 647,
          "y": 453,
          "width": 35,
          "height": 35
        }
      },
      {
        "type": "flow",
        "id": "flow30",
        "name": "",
        "elementCoordinate": [
          {
            "x": 647,
            "y": 470
          },
          {
            "x": 620,
            "y": 470
          }
        ]
      },
      {
        "type": "intermediateTimer",
        "id": "timerintermediatecatchevent1",
        "name": "TimerCatchEvent",
        "elementCoordinate": {
          "x": 585,
          "y": 453,
          "width": 35,
          "height": 35
        }
      },
      {
        "type": "flow",
        "id": "flow69",
        "name": "",
        "elementCoordinate": [
          {
            "x": 602,
            "y": 453
          },
          {
            "x": 602,
            "y": 422
          }
        ]
      },
      {
        "type": "endEvent",
        "id": "endevent1",
        "name": "End",
        "elementCoordinate": {
          "x": 605,
          "y": 236,
          "width": 35,
          "height": 35
        }
      },
      {
        "type": "endEvent",
        "id": "endevent2",
        "name": "End",
        "elementCoordinate": {
          "x": 585,
          "y": 387,
          "width": 35,
          "height": 35
        }
      },
      {
        "type": "endEvent",
        "id": "endevent3",
        "name": "End",
        "elementCoordinate": {
          "x": 1349,
          "y": 250,
          "width": 35,
          "height": 35
        }
      },
      {
        "type": "endEvent",
        "id": "endevent6",
        "name": "End",
        "elementCoordinate": {
          "x": 1375,
          "y": 9,
          "width": 35,
          "height": 35
        }
      },
      {
        "type": "endEvent",
        "id": "endevent7",
        "name": "End",
        "elementCoordinate": {
          "x": 1405,
          "y": 453,
          "width": 35,
          "height": 35
        }
      },
      {
        "type": "endEvent",
        "id": "endevent8",
        "name": "End",
        "elementCoordinate": {
          "x": 88,
          "y": 523,
          "width": 35,
          "height": 35
        }
      }
    ]
  }
}